<?php
$G_CONFIG['view']['resize']=array( 
		'/anjuke\.com/'=>array( 
				array( 
						'width'=>200,
						'height'=>200,
						'option'=>array( 
								'default'=>array( 
										'watermark'=>false,
										'thumbnail'=>true,
										'mode'=>'zoom', //cut
										'zoom_mode'=>'scale', //fill
										'zoom_scale_mode'=>'mix'  //width,height
								) 
						) 
				),
				array( 
						'width'=>500,
						'height'=>500,
						'option'=>array( 
								'a'=>array( 
										'thumbnail'=>true,
										'mode'=>'zoom'  //cut
								),
								'b'=>array(),
								'default'=>array( 
										'watermark'=>false,
										'thumbnail'=>true,
										'mode'=>'zoom', //cut
										'zoom_mode'=>'scale', //fill
										'zoom_scale_mode'=>'mix'  //width,height
								) 
						) 
				) 
		),
		'/unknown|localhost/'=>array( 
				array( 
						'width'=>200,
						'height'=>200,
						'option'=>array( 
								'a'=>array(),
								'b'=>array(),
								'default'=>array( 
										'watermark'=>false,
										'thumbnail'=>true,
										'mode'=>'zoom', //cut
										'zoom_mode'=>'scale', //fill
										'zoom_scale_mode'=>'mix'  //width,height
								) 
						) 
				),
				array( 
						'width'=>500,
						'height'=>500,
						'option'=>array( 
								'a'=>array( 
										'thumbnail'=>true,
										'mode'=>'zoom'  //cut
								),
								'b'=>array(),
								'default'=>array( 
										'watermark'=>'/home/app/myhome/document/accessory/watermark.png',
										'thumbnail'=>true,
										'mode'=>'zoom', //cut
										'zoom_mode'=>'scale', //fill
										'zoom_scale_mode'=>'mix'  //width,height
								) 
						) 
				),
				array( 
						'width'=>1000,
						'height'=>1000,
						'option'=>array( 
								'a'=>array(),
								'b'=>array(),
								'default'=>array( 
										'watermark'=>false,
										'thumbnail'=>true,
										'mode'=>'zoom', //cut
										'zoom_mode'=>'scale', //fill
										'zoom_scale_mode'=>'mix'  //width,height
								) 
						) 
				) 
		) 
);
$G_CONFIG['view']['original']=array( 
		'/unknown|localhost/'=>true 
);